import React from 'react'
import { routes } from './router/index'
import {BrowserRouter,useRoutes} from 'react-router-dom'

function App() {
  let Ele = () =>useRoutes(routes)
  return <BrowserRouter>
    <Ele></Ele>
  </BrowserRouter>
}

export default App
